#include"StdThread.h"
#include<stdio.h>
#include<unistd.h>

void *Func_Thread1(void *arg)
{
    while(1)
    {
        printf("thread 1 is running!\n");
        sleep(1);    
    }
    return NULL;
}

int main()
{
    thread *t=InitThread(Func_Thread1,NULL);
    
    sleep(3);
    CloseThread(t);
    return 0;
}